#include "StdAfx.h"
#include "VPageLayout.h"

// VPageLayout ////////////////////////////////////////////////////////////////

//
VPageLayout::VPageLayout()
	:QVBoxLayout()
	,m_pageWidth(0)
{
	//setSizeConstraint(QLayout::SetMinimumSize);
	//setSizeConstraint(QLayout::SetMaximumSize);

	setContentsMargins(0,0,0,0);
	setSpacing(0);
	setAlignment(Qt::AlignTop);// | Qt::AlignHCenter);
}

//
VPageLayout::VPageLayout(QWidget *parent)
	:QVBoxLayout(parent)
	,m_pageWidth(0)
{
	//setSizeConstraint(QLayout::SetMinimumSize);
	//setSizeConstraint(QLayout::SetMaximumSize);

	setContentsMargins(0,0,0,0);
	setSpacing(0);
	setAlignment(Qt::AlignTop);// | Qt::AlignHCenter);
}

/*****************
//
void VPageLayout::addLayout(QLayout *layout,int stretch)
{
	QBoxLayout::addLayout(layout,stretch);
}
***************/
